					<div class="product_slide hot_product">
						<div class="title">
							<label><span><img src="<?php echo $rootURL; ?>imgs/right_title1.png" />SẢN PHẨM NỔI BẬT</span></label>
						</div>
						<div>
							<ul id="mycarousel4" class="jcarousel-skin-tango">
                            	<?
                            	$index_spmoi = 0;
									$sanpham = $t->get_by_thutu("sanpham",-1,1," AND trangchu=0"," LIMIT 0,20");
									while($row_sp=mysql_fetch_assoc($sanpham)){
										
										$idloai=$row_sp['idloai'];
										$loai=$t->get_by_thutu("sanpham_loai",$idloai);
										$row_loai=mysql_fetch_assoc($loai);
										if($row_loai['ten_'.$lang]=='') $row_loai['ten_'.$lang]='-';
										
										$idchungloai=$row_sp['idcl'];
										$chungloai=$t->get_by_thutu("sanpham_chungloai",$idchungloai);
										$row_chungloai=mysql_fetch_assoc($chungloai);
										if($row_chungloai['ten_'.$lang]=='') $row_chungloai['ten_'.$lang]='-';
										
										$idroot=$row_sp['idroot'];
										$root=$t->get_by_thutu("sanpham_root",$idroot);
										$row_root=mysql_fetch_assoc($root);
										if($row_root['ten_'.$lang]=='') $row_root['ten_'.$lang]='-';
										
										$idmenu=$row_sp['idmenu'];
										$menu=$t->get_by_thutu("sanpham_menu",$idmenu);
										$row_menu=mysql_fetch_assoc($menu);
										if($row_menu['ten_'.$lang]=='') $row_menu['ten_'.$lang]='-';
										$images = explode(':*:',$row_sp['url_img']);
								?>
								<?=$index_spmoi%2 == 0 ? "<li>":""  ?>
									<div class="picture_small">
										<table cellpadding="0" cellspacing="0">
											<tr>
												<td>
													<a href="<?=$rooturl?><?=$list['15']['alias']?>/<?=convert($row_menu['ten_'.$lang])?>/<?=convert($row_root['ten_'.$lang])?>/<?=convert($row_chungloai['ten_'.$lang])?>/<?=convert($row_loai['ten_'.$lang])?>/<?=convert($row_sp['ten_'.$lang])?>-<?=$row_sp['id']?>.html">
														<img src="<?=getUrlThumbnail($images[0])?>" />
													</a>
												</td>
											</tr>
										</table>
									</div>
									<div class="name">
										<a href="<?=$rooturl?><?=$list['15']['alias']?>/<?=convert($row_menu['ten_'.$lang])?>/<?=convert($row_root['ten_'.$lang])?>/<?=convert($row_chungloai['ten_'.$lang])?>/<?=convert($row_loai['ten_'.$lang])?>/<?=convert($row_sp['ten_'.$lang])?>-<?=$row_sp['id']?>.html"><?=$row_sp['ten_'.$lang]?></a>
									</div>
									<div class="price">
										Giá: <?=number_format($row_sp['gia'],0,",",".")?>
									</div>
								<?php if ($index_spmoi > 0): ?>
								<?=$index_spmoi%2 == 1 ? "</li>":""  ?>
								<?php endif ?>
                                <?
                                 $index_spmoi ++;
									}
								?>
							</ul>
						</div>
					</div>